Platform Explorer / Nuxeo Platform 11.4

Component org.nuxeo.ecm.platform.rendition.actions

Resolution Order

458
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.rendition.actions">

  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
    point="actions">

    <action id="documentExport" order="80" label="label.exportview" type="fancybox"
      icon="/icons/export.png">
      <category>DOCUMENT_UPPER_ACTION</category>
      <properties>
        <property name="include">/incl/renditions_box.xhtml</property>
        <property name="autoDimensions">false</property>
        <property name="width">40%</property>
        <property name="height">40%</property>
        <property name="scrolling">auto</property>
        <property name="ajaxSupport">true</property>
        <property name="excludedKinds">nuxeo:video:conversion,nuxeo:picture:conversion</property>
      </properties>
      <filter-id>hasVisibleRenditions</filter-id>
    </action>

    <action id="StoredRenditions" link="/incl/search_renditions.xhtml" label="admcommand.searchrenditions"
      type="admin_rest_document_link" order="50">
      <category>NUXEO_ADMIN</category>
      <filter-id>only_for_manager</filter-id>
    </action>

  </extension>

  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
    point="filters">

    <filter id="hasVisibleRenditions">
      <rule grant="true">
        <condition>#{renditionAction.hasVisibleRenditions('nuxeo:video:conversion,nuxeo:picture:conversion')}</condition>
      </rule>
    </filter>

  </extension>

</component>